package com.Industrial.control.controller;

import com.Industrial.control.common.lang.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author zzh
 * @description 测试
 * @date 2020/4/23
 */
@RestController
@RequestMapping("test")
public class IndexController {
    @GetMapping("/test")
    @ResponseBody
    public Result test() throws Exception {
        String str = "程序猿最帅";
        return Result.succ(str);
    }
}
